package com.dkd.manage.domain.dto;

import lombok.Data;
import org.apache.poi.ss.formula.functions.T;

@Data
public class VendResult<T> {
    /**
     * 状态码
     */
    private int code;

    /**
     * 状态消息
     */
    private String message;

    /**
     * 数据对象
     */
    private T data;

    public VendResult() {
    }

    public VendResult(int code, String message, T data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }
}
